package com.app.fooddb.service;

import com.app.fooddb.pojo.Foods;
import com.app.fooddb.pojo.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface UsersService {
    public Users login(String telephone, String password);

    public int register(Users users);

    public List<Foods> list();

    public Foods findById(Integer id);
}
